var schedule = require('node-schedule');
var winston = require('winston');
var moment = require('moment');
var fooUtils = require('./FooUtils.js');
var logger = fooUtils.getLogger();

cleanDirs();

function cleanDirs() {
	var dirs_need_cleaned = [ "path1", "path2" ];
	dirs_need_cleaned.forEach(function(item, index, array) {
		logger.info(item);
	});	
}

return false;

var j = schedule.scheduleJob('15 * * * * *', backupConfigFiles);

function backupConfigFiles() {
	logger.info('backupConfigFilesOn,Start');
	logger.info('backupConfigFilesOn,End');
}